package com.nuoniu.sibanyun.service.po;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.po.VRoRequisitionOrderDetail;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

/**
 * <p>
 * 请购单明细表 服务类
 * </p>
 *
 * @author baiqiang
 * @since 2020-11-17
 */
public interface IVRoRequisitionOrderDetailService extends IService<VRoRequisitionOrderDetail> {

    /**
     * 根据订单id删除
     * @author 小啊刚
     * @date 2020-11-20
     */
    void removeByOrderId(Long id);

    /**
     * 根据单据主表ID 获取单据明细
     * @param orderId
     * @return
     */
    List<VRoRequisitionOrderDetail> getOrderDetails(Long orderId);
}
